# Map File for XRally
# Generated by Ismael Orenstein
# Date: 05/01/2000
# This file describes a level
# A level is a collection of maps, normally agrouped by theme or tileset
# First Section: Level options
# name <LEVEL NAME>
# tileset <TILESET>
# desc <LEVEL DESCRIPTION>
# lives <NUMBER OF LIVES> <EXTRA LIVE>
# carai <AI MODE>
# sound <SOUND FILE> <VOLUME>
# border <WIDTH>
# You must provide the "tileset" option. All the others are optional
# If the number of lives is less than 0, the game will enter special test mode, and you will be able to choose which map to play.
# The extra live option will say how many points will must make to receive another life
# Player car AI modes: -1 - ALL AI, 0 - Default AI, 1 - Limited AI, 2 - No AI
# Second section: Maps Options
# Each map starts with a '-'
# size <width> <height>
# speed <car speed> <ai speed>
# fuel <start fuel> <fuel impact>
# bonus
# fuelpts <fuel pts>
# radarmode <mode> <range>
# enemywait <time>
# You must provide the size option. The start fuel is the number of game ticks that will happen before your fuel ends. The fuel impact is the impact of end of fuel at your speed. Higher numbers mean less impact.
# The bonus keyword means that this map is a bonus one
# If fuelpts is positive, you will receive (remainingFuel / fuelpts) extra points at the end of the level. If negative, you will receive |remainingFuel * fuelpts|
# radarmode 0: Original, 1: Sonar, 2:Fuel sonar, 3:Full
# Map data:
# Use a 0 to GRASS
# Use a 1 to BLOCK
# Use a U to set the blue car starting position, facing up
# Use a D to set the blue car starting position, facing down
# Use a R to set the blue car starting position, facing right
# Use a L to set the blue car starting position, facing left
# Use a A to set the red car (AI) starting position
# Use a P to set a patrol point
# Use a F to set a flag
# Use 2-6 to set a custom passable tile (road2.xpm, .., road6.xpm)
# Use z-b to set a custom impassable tile (block2.xpm, ..., block6.xpm)
# If you provide a car speed or ai speed of 0, it will use the default value.
# You can also use map options within the level options sections. These options will take effect for the entire level. (see example below)
name Test Level
tileset test
lives -1 -1
fuel 0 300
speed 12 14
-
size 4 4
fuel 100
fuelpts 5
000L
1000
F100
0000
-
size 9 13
fuel 500
fuelpts -5
0001D1000
000101000
000101000
000101000
zzzx0xzzz
1PPP0P0A1
10000P001
10PPPP001
100000001
xxxx0xxxx
xxxx0xxxx
xxxxFxxxx
xxxxxxxxx
-
speed 20
size 16 16
radarmode 3
enemywait 75
00000F0000000000
0zzzzzzzzzzzzzz0
0000000000000000
010zzzzzzzzzz010
0100000000000010
01010zzzzzz01F10
0101000000001010
F101010xx010101F
010101Uxx0101010
0101000000001010
01010zzzzzz01010
0100000000000010
010zzzzzzzzzz010
0000A000000F0000
0zzzzzzzzzzzzzz0
F000000000000000
-
size 9 7
speed 10
fuel 100000 100000
000000000
001010100
000000000
001000100
0010D0100
001110100
000000000
-
size 7 7
speed 10
0011100
0010100
1110111
100U001
1110111
0010100
0011100
-
size 16 16
0000000000000000
1111111111111110
0000000000000010
0111111111111010
0100000000001010
0101111111101010
0101000000101010
0101011110101010
010101D110101010
0101010000101010
0101011111101010
0101000000001010
0101111111111010
0100000000000010
0111111111111110
0000000000000000
-
size 20 16
00000000000000000000
00011111111111111000
0001S000000000000000
00010000000000000000
00010000000000000000
00010000000000000000
00000000000000000000
00011111111111110000
00010000010000010000
00010000010000010000
00010000000000010000
00000000000000000000
00011111111111110000
00000000000000010000
00010000000000010000
00011111111111110000
-
size 16 18
0000000000000000
0000001101010101
0010101000000000
0010101010101010
0010011000000000
0001001110000000
0000101010000000
0001001011010001
0001001000011111
0001001000000000
0000111111110000
0000111000011100
0000000000110000
0011000000110000
1010000011110000
1000000010110000
1011111110000000
S010000000000000
-
size 48 12
000000000000000000000000000000000000000000000000
110110110110110010001010010001100001111110111100
A00000010010000000100010101111111111000000000100
1101011100011111111110000000000A0000000000000100
000100010000000000000001111111111110111111010100
000100011111111111111111001001111111110001111100
1011000100000A0000000000000001000000000000000000
000000010110011110101010101011000000011111111100
011111110111111000000000000001000000010000000000
010000000100000A01010101010101000111111111111000
010010111100001100010010100011111100010001001101
00A1110000000011111100000000000A0001000100011R01
-
size 31 16
0000000000000000000000001111111
S110101010101010101010101100001
1101010101010111110111100001101
1011110110101111111100011110001
1111111111111111000001011110101
1111111111111111011111011110101
1111111111111111000000000000001
1111111111111111111111111111101
1111111111111111111111111111101
1000000000000111000010001000101
1011111111100000001000100010001
1000000000001001001111111111111
1111111111111000000011111111110
1111111100000000100011111111111
1000000001001000110111111111111
1111111100010000000111111111111
-
size 16 14
0000000000000000
011111111111111A
010A001111111000
01011010A0000010
0100001111101010
0110110000100010
0010111110111110
000000000A000000
0110111011111110
010001101000L110
010101101A100110
01A0011000111110
011111111111A000
0000000000000111
-
size 32 8
00000000000000000000000000000000
01000000100100010010000100100010
01000000100110010010000100010100
01000000100101010010000100001000
01000000100101010010000100001000
01000000100100110010000100010100
01111100100100010011111100100010
R0000000000000000000000000000000
-
size 3 4
000
010
010
U00
-
size 20 2
speed 70
00000000000000000000
F00F000F0000F000F000
-
size 4 11
fuel 200 10
speed 20 15
1F11
1011
1000
1010
1010
1010
1000
1101
1001
1011
1U0A
